<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
*/
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'get';
$return=array();
if($_RQ['op']=='get'){
	$item=pdo_get('core_accounts',array('uniacid'=>$_SESSION['uniacid']),array('token','aeskey'));
	$item['url']=SITEROOT.'api/index.php';
	$item['domain']=$_SERVER['HTTP_HOST'];
	$item['username']=$_SESSION['user']['name'];
	$return['item']=$item;
	$htmls=array(
		'type'=>'look',
		'post'=>'post',
		'desc'=>'云接口信息',
		'look'=>array(
			array('type'=>'tip','title'=>'[温馨提示]：</br>此处云接口参数，用于对接第三方参数使用，请勿泄露！'),
			array('type'=>'copy','name'=>'username','title'=>'云接口账号'),
			array('type'=>'copy','name'=>'domain','title'=>'云接口域名'),
			array('type'=>'copy','name'=>'url','title'=>'云接口url'),
			array('type'=>'copy','name'=>'token','title'=>'云接口token'),
			array('type'=>'copy','name'=>'aeskey','title'=>'云接口密钥'),
		)
	);
	$return['htmls']=$htmls;
	exi($return);
}